package com.videoadmin.factory;

import com.videoadmin.dao.ICommentsDAO;
import com.videoadmin.dao.IHistoryDAO;
import com.videoadmin.dao.IMoviesDAO;
import com.videoadmin.dao.IPointsCardDAO;
import com.videoadmin.dao.IUserDAO;
import com.videoadmin.dao.IVipTypeDAO;
import com.videoadmin.dao.impl.CommentsDAOImpl;
import com.videoadmin.dao.impl.HistoryDAOImpl;
import com.videoadmin.dao.impl.MoviesDAOImpl;
import com.videoadmin.dao.impl.PointsCardDAOImpl;
import com.videoadmin.dao.impl.UserDAOImpl;
import com.videoadmin.dao.impl.VipTypeDAOImpl;

public class DAOFactory {
	public static IUserDAO getIUserDAOInstance() {
		return new UserDAOImpl();
	}

	public static IMoviesDAO getIMovieDAOInstance() {
		return new MoviesDAOImpl();
	}

	public static ICommentsDAO getICommentsDAOInstance() {
		return new CommentsDAOImpl();
	}

	public static IVipTypeDAO getIVipTypeDAOInstance() {
		return new VipTypeDAOImpl();
	}

	public static IHistoryDAO getIHistoryDAOInstance() {
		return new HistoryDAOImpl();
	}
	
	public static IPointsCardDAO getIPointsCardDAOInstance() {
		return new PointsCardDAOImpl();
	}
}
